400 |
Can I change the format of date to be shown in the control
local var_Column,var_Column1,var_Column2 as IColumn local var_Columns as IColumns local var_Items as IItems var_Columns := oDCOCX_Exontrol1:Columns var_Columns:Add("Default") var_Column := IColumn{var_Columns:Add("Format.1")} var_Column:ComputedField := "%0" var_Column:FormatColumn := "dateF(value) replace `/` with `-`" var_Column1 := IColumn{var_Columns:Add("Format.2")} var_Column1:ComputedField := "%0" var_Column1:[Def,exCaptionFormat] := 1 var_Column1:FormatColumn := "`<b>`+ shortdate(value) + `</b> ` + timeF(value)" var_Column2 := IColumn{var_Columns:Add("Format.3")} var_Column2:ComputedField := "%0" var_Column2:[Def,exCaptionFormat] := 1 var_Column2:FormatColumn := "( dateF(value) replace `/` with `-` ) + ` <b>`+ ( weekday(value) case ( 0 : `Su`; 1 : `Mo`; 2 : `Tu`; 3 : `We`; 4 : `Th`; 5 : `Fr`; 6 : `Sa`) )" var_Items := oDCOCX_Exontrol1:Items var_Items:Add(SToD("20010101 10:00:00")) var_Items:Add(SToD("20010102 10:00:00")) |
399 |
How can I put a picture on the cell's background (method 3)
local var_Column as IColumn local var_Columns as IColumns local var_Items as IItems local i as USUAL oDCOCX_Exontrol1:VisualAppearance:Add(1,"c:\exontrol\images\normal.ebn") oDCOCX_Exontrol1:VisualAppearance:Add(2,"CP:1 0 0 -164 0") var_Columns := oDCOCX_Exontrol1:Columns var_Columns:Add("column") var_Column := IColumn{var_Columns:Add("column")} var_Column:Alignment := CenterAlignment var_Column:HeaderAlignment := CenterAlignment var_Items := oDCOCX_Exontrol1:Items i := var_Items:Add(nil) var_Items:[SelectableItem,i] := false var_Items:[Caption,i,1] := "caption" var_Items:[CellBackColor,i,1] := 0x2000000 |
398 |
How can I put a picture on the cell's background (method 2)
|
397 |
How can I put a picture on the cell's background (method 1)
|
396 |
How do I access the cells, or how do I get the values in the columns
local var_Columns as IColumns local var_Items as IItems local h as USUAL var_Columns := oDCOCX_Exontrol1:Columns var_Columns:Add("C1") var_Columns:Add("C2") var_Columns:Add("C3") var_Items := oDCOCX_Exontrol1:Items h := var_Items:Add("Item 1") var_Items:[Caption,h,1] := "SubItem 1.1" var_Items:[Caption,h,2] := "SubItem 1.2" OutputDebugString(String2Psz( AsString(var_Items:[Caption,h,2]) )) |
395 |
How can I apply the same ConditionalFormat on more than 1(one) column (multiple columns and not on item)
local var_Columns as IColumns local var_ConditionalFormat,var_ConditionalFormat1 as IConditionalFormat local var_Items as IItems oDCOCX_Exontrol1:BeginUpdate() var_ConditionalFormat := oDCOCX_Exontrol1:ConditionalFormats:Add("1","K1") var_ConditionalFormat:BackColor := RGB(255,0,0) var_ConditionalFormat:ApplyTo := 0x1 | var_ConditionalFormat1 := oDCOCX_Exontrol1:ConditionalFormats:Add("1","K2") var_ConditionalFormat1:BackColor := RGB(255,0,0) var_ConditionalFormat1:ApplyTo := 0x2 | oDCOCX_Exontrol1:MarkSearchColumn := false oDCOCX_Exontrol1:DrawGridLines := 0xfffffffc | exVLines var_Columns := oDCOCX_Exontrol1:Columns var_Columns:Add("Column 1") var_Columns:Add("Column 2") var_Columns:Add("Column 3") var_Items := oDCOCX_Exontrol1:Items var_Items:Add(nil) var_Items:Add(nil) var_Items:Add(nil) oDCOCX_Exontrol1:EndUpdate() |
394 |
How can I get the list of items as they are displayed
local var_Items as IItems oDCOCX_Exontrol1:BeginUpdate() oDCOCX_Exontrol1:BackColorAlternate := RGB(240,240,240) oDCOCX_Exontrol1:Columns:Add("Names") var_Items := oDCOCX_Exontrol1:Items var_Items:Add("Mantel") var_Items:Add("Mechanik") var_Items:Add("Motor") var_Items:Add("Murks") var_Items:Add("Märchen") var_Items:Add("Möhren") var_Items:Add("Mühle") oDCOCX_Exontrol1:Columns:[Item,0]:SortOrder := SortAscending oDCOCX_Exontrol1:EndUpdate() OutputDebugString(String2Psz( AsString(oDCOCX_Exontrol1:GetItems(1)) )) |
393 |
Is posible to reduce the size of the picture to be shown in the column's caption
oDCOCX_Exontrol1:BeginUpdate() oDCOCX_Exontrol1:[HTMLPicture,"pic1"] := "c:\exontrol\images\zipdisk.gif" oDCOCX_Exontrol1:HeaderHeight := 48 IColumn{oDCOCX_Exontrol1:Columns:Add("DefaultSize")}:HTMLCaption := "Default-Size <img>pic1</img> Picture" IColumn{oDCOCX_Exontrol1:Columns:Add("CustomSize")}:HTMLCaption := "Custom-Size <img>pic1:16</img> Picture" oDCOCX_Exontrol1:EndUpdate() |
392 |
How can I change the color, font, bold etc for the items/cells in the same column or for the entire column
local var_Column as IColumn local var_ConditionalFormat as IConditionalFormat local var_Items as IItems oDCOCX_Exontrol1:BeginUpdate() oDCOCX_Exontrol1:MarkSearchColumn := false var_ConditionalFormat := oDCOCX_Exontrol1:ConditionalFormats:Add("1",nil) var_ConditionalFormat:Bold := true var_ConditionalFormat:ForeColor := RGB(255,0,0) var_ConditionalFormat:ApplyTo := 0x1 | oDCOCX_Exontrol1:Columns:Add("C1") var_Column := IColumn{oDCOCX_Exontrol1:Columns:Add("C2")} var_Column:HeaderBold := true var_Column:HTMLCaption := "<fgcolor=FF0000>C2" var_Items := oDCOCX_Exontrol1:Items var_Items:[Caption,var_Items:Add(10),1] := 11 var_Items:[Caption,var_Items:Add(12),1] := 13 oDCOCX_Exontrol1:EndUpdate() |
391 |
Is it possible to limit the height of item while resizing the row
|
390 |
Can I specify un-sortable items so they keep their position once the user sorts the columns
local var_Items as IItems IColumn{oDCOCX_Exontrol1:Columns:Add("Def")}:SortType := SortNumeric var_Items := oDCOCX_Exontrol1:Items var_Items:[SortableItem,var_Items:Add("Unsortable")] := false var_Items:Add(1) var_Items:Add(2) var_Items:Add(3) |
389 |
The item is not getting selected when clicking the cell's checkbox. What should I do
METHOD OCX_Exontrol1CellStateChanged(ItemIndex,ColIndex) CLASS MainDialog // CellStateChanged event - Fired after cell's state is changed. oDCOCX_Exontrol1:Items:[SelectItem,ItemIndex] := true RETURN NIL local var_Items as IItems IColumn{oDCOCX_Exontrol1:Columns:Add("Check")}:[Def,exCellHasCheckBox] := true var_Items := oDCOCX_Exontrol1:Items var_Items:Add(0) var_Items:Add(1) var_Items:Add(2) var_Items:Add(3) |
388 |
Does your control supports multiple lines tooltip
|
387 |
How can I prevent highlighting the column from the cursor - point
|
386 |
Is there any option to show the tooltip programmatically
|
385 |
Is it possible to prevent covering the colors by selected rows
local var_Items as IItems oDCOCX_Exontrol1:SelBackMode := exTransparent oDCOCX_Exontrol1:BackColorAlternate := RGB(240,240,240) oDCOCX_Exontrol1:Columns:Add("Column") var_Items := oDCOCX_Exontrol1:Items var_Items:Add("Item 1") var_Items:Add("Item 2") var_Items:Add("Item 3") var_Items:Add("Item 4") var_Items:Add("Item 5") |
384 |
Can I use PNG images to display pictures in the control
oDCOCX_Exontrol1:[HTMLPicture,"pic1"] := "c:\exontrol\images\card.png" oDCOCX_Exontrol1:HeaderHeight := 48 IColumn{oDCOCX_Exontrol1:Columns:Add("ColumnName")}:HTMLCaption := "<b>HTML</b> Column <img>pic1</img> Picture" |
383 |
Does your control support conditional format and computed fields
local var_Column,var_Column1,var_Column2,var_Column3 as IColumn local var_Columns as IColumns local var_ConditionalFormat,var_ConditionalFormat1,var_ConditionalFormat2 as IConditionalFormat local var_ConditionalFormats as IConditionalFormats local var_Items as IItems local h1 as USUAL oDCOCX_Exontrol1:BeginUpdate() oDCOCX_Exontrol1:MarkSearchColumn := false var_ConditionalFormats := oDCOCX_Exontrol1:ConditionalFormats var_ConditionalFormat := var_ConditionalFormats:Add("%1 >4",nil) var_ConditionalFormat:Bold := true var_ConditionalFormat:StrikeOut := true var_ConditionalFormat:ForeColor := RGB(255,0,0) var_ConditionalFormat:ApplyTo := 0x1 | var_ConditionalFormat1 := var_ConditionalFormats:Add("%2 > 4",nil) var_ConditionalFormat1:Bold := true var_ConditionalFormat1:StrikeOut := true var_ConditionalFormat1:ForeColor := RGB(255,0,0) var_ConditionalFormat1:ApplyTo := 0x2 | var_ConditionalFormat2 := var_ConditionalFormats:Add("%3 > 4",nil) var_ConditionalFormat2:Bold := true var_ConditionalFormat2:StrikeOut := true var_ConditionalFormat2:ForeColor := RGB(255,0,0) var_ConditionalFormat2:ApplyTo := 0x3 | var_Columns := oDCOCX_Exontrol1:Columns var_Columns:Add("Name") var_Column := IColumn{var_Columns:Add("A")} var_Column:SortType := SortNumeric var_Column:AllowSizing := false var_Column:Width := 36 var_Column:FormatColumn := "len(value) ? value + ' +'" var_Column1 := IColumn{var_Columns:Add("B")} var_Column1:SortType := SortNumeric var_Column1:AllowSizing := false var_Column1:Width := 36 var_Column1:FormatColumn := "len(value) ? value + ' +'" var_Column2 := IColumn{var_Columns:Add("C")} var_Column2:SortType := SortNumeric var_Column2:AllowSizing := false var_Column2:Width := 36 var_Column2:FormatColumn := "len(value) ? value + ' ='" var_Column3 := IColumn{var_Columns:Add("A+B+C")} var_Column3:SortType := SortNumeric var_Column3:AllowSizing := false var_Column3:Width := 64 var_Column3:ComputedField := "%1+%2+%3" var_Column3:FormatColumn := "((0:=dbl(value)) < 10? '<fgcolor=808080><font ;7>' :'<b>') + currency(=:0)" var_Column3:[Def,exCaptionFormat] := 1 var_Items := oDCOCX_Exontrol1:Items h1 := var_Items:Add("Item 1") var_Items:[Caption,h1,1] := 7 var_Items:[Caption,h1,2] := 3 var_Items:[Caption,h1,3] := 1 h1 := var_Items:Add("Item 2") var_Items:[Caption,h1,1] := 2 var_Items:[Caption,h1,2] := 5 var_Items:[Caption,h1,3] := 12 h1 := var_Items:Add("Item 3") var_Items:[Caption,h1,1] := 2 var_Items:[Caption,h1,2] := 2 var_Items:[Caption,h1,3] := 4 h1 := var_Items:Add("Item 4") var_Items:[Caption,h1,1] := 2 var_Items:[Caption,h1,2] := 9 var_Items:[Caption,h1,3] := 4 oDCOCX_Exontrol1:EndUpdate() |
382 |
Is there any way to display the vertical scroll bar on the left side, as I want to align my data to the right
|
381 |
Can I display the cell's check box after the text
local var_Column as IColumn local var_Items as IItems var_Column := IColumn{oDCOCX_Exontrol1:Columns:Add("Column")} var_Column:[Def,exCellHasCheckBox] := true var_Column:[Def,exCellDrawPartsOrder] := "caption,check" var_Items := oDCOCX_Exontrol1:Items var_Items:[CellHasCheckBox,var_Items:Add("Caption 1"),0] := true var_Items:[CellHasCheckBox,var_Items:Add("Caption 2"),0] := true |
380 |
Can I change the order of the parts in the cell, as checkbox after the text, and so on
local var_Items as IItems local h as USUAL oDCOCX_Exontrol1:Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yNAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=") IColumn{oDCOCX_Exontrol1:Columns:Add("Column")}:[Def,exCellDrawPartsOrder] := "caption,check,icon,icons,picture" var_Items := oDCOCX_Exontrol1:Items h := var_Items:Add("Text") var_Items:[CellImage,h,0] := 1 var_Items:[CellHasCheckBox,h,0] := true |
379 |
Can I have an image displayed after the text. Can I get that effect without using HTML content
local var_Items as IItems local h as USUAL oDCOCX_Exontrol1:Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yNAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=") IColumn{oDCOCX_Exontrol1:Columns:Add("Column")}:[Def,exCellDrawPartsOrder] := "caption,icon,check,icons,picture" var_Items := oDCOCX_Exontrol1:Items h := var_Items:Add("Text") var_Items:[CellImage,h,0] := 1 |
378 |
Is there any way to display the vertical scroll bar on the left side, as I want to align my data to the right
|
377 |
How can I change the foreground color for a particular column
local var_Columns as IColumns var_Columns := oDCOCX_Exontrol1:Columns var_Columns:Add("Column 1") IColumn{var_Columns:Add("Column 2")}:[Def,exHeaderForeColor] := 8439039 var_Columns:Add("Column 3") |
376 |
How can I change the background color for a particular column
local var_Columns as IColumns var_Columns := oDCOCX_Exontrol1:Columns var_Columns:Add("Column 1") IColumn{var_Columns:Add("Column 2")}:[Def,exHeaderBackColor] := 8439039 var_Columns:Add("Column 3") |
375 |
How can I display the column using currency format and enlarge the font for certain values
|
374 |
How can I highlight only parts of the cells
|
373 |
How can I get the number of occurrences of a specified string in the cell
local var_Column as IColumn local var_Items as IItems local h as USUAL oDCOCX_Exontrol1:Columns:Add("") var_Column := IColumn{oDCOCX_Exontrol1:Columns:Add("occurrences")} var_Column:ComputedField := "lower(%0) count 'o'" var_Column:FormatColumn := "'contains ' + value + ' of \'o\' chars'" var_Items := oDCOCX_Exontrol1:Items h := var_Items:Add("Root") var_Items:Add("Child 1 oooof the root") var_Items:Add("Child 2") var_Items:Add("Child 3") |
372 |
How can I display dates in my format
|
371 |
How can I display dates in short format
|
370 |
How can I display dates in long format
|
369 |
How can I display only the right part of the cell
local var_Column as IColumn local var_Items as IItems local h as USUAL oDCOCX_Exontrol1:Columns:Add("") var_Column := IColumn{oDCOCX_Exontrol1:Columns:Add("Right")} var_Column:ComputedField := "%0 right 2" var_Column:FormatColumn := "'" + CHR(34) + "' + value + '" + CHR(34) + "'" var_Items := oDCOCX_Exontrol1:Items h := var_Items:Add("Root") var_Items:Add("Child 1") var_Items:Add("Child 2") var_Items:Add("SChild 3") |
368 |
How can I display only the left part of the cell
|
367 |
How can I display true or false instead 0 and -1
|
366 |
How can I display icons or images instead numbers
local var_Column as IColumn local var_Items as IItems oDCOCX_Exontrol1:Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yNAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=") var_Column := IColumn{oDCOCX_Exontrol1:Columns:Add("Icons")} var_Column:[Def,exCaptionFormat] := 1 var_Column:FormatColumn := "'The cell displays the icon <img>'+value+'</img> instead ' + value" var_Items := oDCOCX_Exontrol1:Items var_Items:Add(1) var_Items:Add(2) var_Items:Add(3) |
365 |
How can I display the column using currency
|
364 |
Is is possible to use HTML tags to display in the filter caption
|
363 |
How can I find the number of items after filtering
|
362 |
How can I change the filter caption
local var_Columns as IColumns local var_Items as IItems local h0 as USUAL oDCOCX_Exontrol1:BeginUpdate() oDCOCX_Exontrol1:ColumnAutoResize := true oDCOCX_Exontrol1:ContinueColumnScroll := false oDCOCX_Exontrol1:MarkSearchColumn := false oDCOCX_Exontrol1:SearchColumnIndex := 1 oDCOCX_Exontrol1:FilterBarPromptVisible := true oDCOCX_Exontrol1:FilterBarPromptType := exFilterPromptWords | exFilterPromptContainsAll oDCOCX_Exontrol1:FilterBarPromptPattern := "london robert" oDCOCX_Exontrol1:FilterBarCaption := "<r>Found: ... " var_Columns := oDCOCX_Exontrol1:Columns IColumn{var_Columns:Add("Name")}:Width := 96 IColumn{var_Columns:Add("Title")}:Width := 96 var_Columns:Add("City") var_Items := oDCOCX_Exontrol1:Items h0 := var_Items:Add("Nancy Davolio") var_Items:[Caption,h0,1] := "Sales Representative" var_Items:[Caption,h0,2] := "Seattle" h0 := var_Items:Add("Andrew Fuller") var_Items:[Caption,h0,1] := "Vice President, Sales" var_Items:[Caption,h0,2] := "Tacoma" var_Items:[SelectItem,h0] := true h0 := var_Items:Add("Janet Leverling") var_Items:[Caption,h0,1] := "Sales Representative" var_Items:[Caption,h0,2] := "Kirkland" h0 := var_Items:Add("Margaret Peacock") var_Items:[Caption,h0,1] := "Sales Representative" var_Items:[Caption,h0,2] := "Redmond" h0 := var_Items:Add("Steven Buchanan") var_Items:[Caption,h0,1] := "Sales Manager" var_Items:[Caption,h0,2] := "London" h0 := var_Items:Add("Michael Suyama") var_Items:[Caption,h0,1] := "Sales Representative" var_Items:[Caption,h0,2] := "London" h0 := var_Items:Add("Robert King") var_Items:[Caption,h0,1] := "Sales Representative" var_Items:[Caption,h0,2] := "London" h0 := var_Items:Add("Laura Callahan") var_Items:[Caption,h0,1] := "Inside Sales Coordinator" var_Items:[Caption,h0,2] := "Seattle" h0 := var_Items:Add("Anne Dodsworth") var_Items:[Caption,h0,1] := "Sales Representative" var_Items:[Caption,h0,2] := "London" oDCOCX_Exontrol1:EndUpdate() |
361 |
While using the filter prompt is it is possible to use wild characters
local var_Columns as IColumns local var_Items as IItems local h0 as USUAL oDCOCX_Exontrol1:BeginUpdate() oDCOCX_Exontrol1:ColumnAutoResize := true oDCOCX_Exontrol1:ContinueColumnScroll := false oDCOCX_Exontrol1:MarkSearchColumn := false oDCOCX_Exontrol1:SearchColumnIndex := 1 oDCOCX_Exontrol1:FilterBarPromptVisible := true oDCOCX_Exontrol1:FilterBarPromptType := exFilterPromptPattern oDCOCX_Exontrol1:FilterBarPromptPattern := "lon* seat*" var_Columns := oDCOCX_Exontrol1:Columns IColumn{var_Columns:Add("Name")}:Width := 96 IColumn{var_Columns:Add("Title")}:Width := 96 var_Columns:Add("City") var_Items := oDCOCX_Exontrol1:Items h0 := var_Items:Add("Nancy Davolio") var_Items:[Caption,h0,1] := "Sales Representative" var_Items:[Caption,h0,2] := "Seattle" h0 := var_Items:Add("Andrew Fuller") var_Items:[Caption,h0,1] := "Vice President, Sales" var_Items:[Caption,h0,2] := "Tacoma" var_Items:[SelectItem,h0] := true h0 := var_Items:Add("Janet Leverling") var_Items:[Caption,h0,1] := "Sales Representative" var_Items:[Caption,h0,2] := "Kirkland" h0 := var_Items:Add("Margaret Peacock") var_Items:[Caption,h0,1] := "Sales Representative" var_Items:[Caption,h0,2] := "Redmond" h0 := var_Items:Add("Steven Buchanan") var_Items:[Caption,h0,1] := "Sales Manager" var_Items:[Caption,h0,2] := "London" h0 := var_Items:Add("Michael Suyama") var_Items:[Caption,h0,1] := "Sales Representative" var_Items:[Caption,h0,2] := "London" h0 := var_Items:Add("Robert King") var_Items:[Caption,h0,1] := "Sales Representative" var_Items:[Caption,h0,2] := "London" h0 := var_Items:Add("Laura Callahan") var_Items:[Caption,h0,1] := "Inside Sales Coordinator" var_Items:[Caption,h0,2] := "Seattle" h0 := var_Items:Add("Anne Dodsworth") var_Items:[Caption,h0,1] := "Sales Representative" var_Items:[Caption,h0,2] := "London" oDCOCX_Exontrol1:EndUpdate() |
360 |
How can I list all items that contains any of specified words, not necessary at the beggining
local var_Columns as IColumns local var_Items as IItems local h0 as USUAL oDCOCX_Exontrol1:BeginUpdate() oDCOCX_Exontrol1:ColumnAutoResize := true oDCOCX_Exontrol1:ContinueColumnScroll := false oDCOCX_Exontrol1:MarkSearchColumn := false oDCOCX_Exontrol1:SearchColumnIndex := 1 oDCOCX_Exontrol1:FilterBarPromptVisible := true oDCOCX_Exontrol1:FilterBarPromptType := exFilterPromptStartWords | exFilterPromptContainsAny oDCOCX_Exontrol1:FilterBarPromptPattern := "london davolio" var_Columns := oDCOCX_Exontrol1:Columns IColumn{var_Columns:Add("Name")}:Width := 96 IColumn{var_Columns:Add("Title")}:Width := 96 var_Columns:Add("City") var_Items := oDCOCX_Exontrol1:Items h0 := var_Items:Add("Nancy Davolio") var_Items:[Caption,h0,1] := "Sales Representative" var_Items:[Caption,h0,2] := "Seattle" h0 := var_Items:Add("Andrew Fuller") var_Items:[Caption,h0,1] := "Vice President, Sales" var_Items:[Caption,h0,2] := "Tacoma" var_Items:[SelectItem,h0] := true h0 := var_Items:Add("Janet Leverling") var_Items:[Caption,h0,1] := "Sales Representative" var_Items:[Caption,h0,2] := "Kirkland" h0 := var_Items:Add("Margaret Peacock") var_Items:[Caption,h0,1] := "Sales Representative" var_Items:[Caption,h0,2] := "Redmond" h0 := var_Items:Add("Steven Buchanan") var_Items:[Caption,h0,1] := "Sales Manager" var_Items:[Caption,h0,2] := "London" h0 := var_Items:Add("Michael Suyama") var_Items:[Caption,h0,1] := "Sales Representative" var_Items:[Caption,h0,2] := "London" h0 := var_Items:Add("Robert King") var_Items:[Caption,h0,1] := "Sales Representative" var_Items:[Caption,h0,2] := "London" h0 := var_Items:Add("Laura Callahan") var_Items:[Caption,h0,1] := "Inside Sales Coordinator" var_Items:[Caption,h0,2] := "Seattle" h0 := var_Items:Add("Anne Dodsworth") var_Items:[Caption,h0,1] := "Sales Representative" var_Items:[Caption,h0,2] := "London" oDCOCX_Exontrol1:EndUpdate() |
359 |
How can I list all items that contains any of specified words, not strings
local var_Columns as IColumns local var_Items as IItems local h0 as USUAL oDCOCX_Exontrol1:BeginUpdate() oDCOCX_Exontrol1:ColumnAutoResize := true oDCOCX_Exontrol1:ContinueColumnScroll := false oDCOCX_Exontrol1:MarkSearchColumn := false oDCOCX_Exontrol1:SearchColumnIndex := 1 oDCOCX_Exontrol1:FilterBarPromptVisible := true oDCOCX_Exontrol1:FilterBarPromptType := exFilterPromptWords | exFilterPromptContainsAny oDCOCX_Exontrol1:FilterBarPromptPattern := "london nancy" var_Columns := oDCOCX_Exontrol1:Columns IColumn{var_Columns:Add("Name")}:Width := 96 IColumn{var_Columns:Add("Title")}:Width := 96 var_Columns:Add("City") var_Items := oDCOCX_Exontrol1:Items h0 := var_Items:Add("Nancy Davolio") var_Items:[Caption,h0,1] := "Sales Representative" var_Items:[Caption,h0,2] := "Seattle" h0 := var_Items:Add("Andrew Fuller") var_Items:[Caption,h0,1] := "Vice President, Sales" var_Items:[Caption,h0,2] := "Tacoma" var_Items:[SelectItem,h0] := true h0 := var_Items:Add("Janet Leverling") var_Items:[Caption,h0,1] := "Sales Representative" var_Items:[Caption,h0,2] := "Kirkland" h0 := var_Items:Add("Margaret Peacock") var_Items:[Caption,h0,1] := "Sales Representative" var_Items:[Caption,h0,2] := "Redmond" h0 := var_Items:Add("Steven Buchanan") var_Items:[Caption,h0,1] := "Sales Manager" var_Items:[Caption,h0,2] := "London" h0 := var_Items:Add("Michael Suyama") var_Items:[Caption,h0,1] := "Sales Representative" var_Items:[Caption,h0,2] := "London" h0 := var_Items:Add("Robert King") var_Items:[Caption,h0,1] := "Sales Representative" var_Items:[Caption,h0,2] := "London" h0 := var_Items:Add("Laura Callahan") var_Items:[Caption,h0,1] := "Inside Sales Coordinator" var_Items:[Caption,h0,2] := "Seattle" h0 := var_Items:Add("Anne Dodsworth") var_Items:[Caption,h0,1] := "Sales Representative" var_Items:[Caption,h0,2] := "London" oDCOCX_Exontrol1:EndUpdate() |
358 |
How can I list all items that contains all specified words, not strings
local var_Columns as IColumns local var_Items as IItems local h0 as USUAL oDCOCX_Exontrol1:BeginUpdate() oDCOCX_Exontrol1:ColumnAutoResize := true oDCOCX_Exontrol1:ContinueColumnScroll := false oDCOCX_Exontrol1:MarkSearchColumn := false oDCOCX_Exontrol1:SearchColumnIndex := 1 oDCOCX_Exontrol1:FilterBarPromptVisible := true oDCOCX_Exontrol1:FilterBarPromptType := exFilterPromptWords | exFilterPromptContainsAll oDCOCX_Exontrol1:FilterBarPromptPattern := "london robert" var_Columns := oDCOCX_Exontrol1:Columns IColumn{var_Columns:Add("Name")}:Width := 96 IColumn{var_Columns:Add("Title")}:Width := 96 var_Columns:Add("City") var_Items := oDCOCX_Exontrol1:Items h0 := var_Items:Add("Nancy Davolio") var_Items:[Caption,h0,1] := "Sales Representative" var_Items:[Caption,h0,2] := "Seattle" h0 := var_Items:Add("Andrew Fuller") var_Items:[Caption,h0,1] := "Vice President, Sales" var_Items:[Caption,h0,2] := "Tacoma" var_Items:[SelectItem,h0] := true h0 := var_Items:Add("Janet Leverling") var_Items:[Caption,h0,1] := "Sales Representative" var_Items:[Caption,h0,2] := "Kirkland" h0 := var_Items:Add("Margaret Peacock") var_Items:[Caption,h0,1] := "Sales Representative" var_Items:[Caption,h0,2] := "Redmond" h0 := var_Items:Add("Steven Buchanan") var_Items:[Caption,h0,1] := "Sales Manager" var_Items:[Caption,h0,2] := "London" h0 := var_Items:Add("Michael Suyama") var_Items:[Caption,h0,1] := "Sales Representative" var_Items:[Caption,h0,2] := "London" h0 := var_Items:Add("Robert King") var_Items:[Caption,h0,1] := "Sales Representative" var_Items:[Caption,h0,2] := "London" h0 := var_Items:Add("Laura Callahan") var_Items:[Caption,h0,1] := "Inside Sales Coordinator" var_Items:[Caption,h0,2] := "Seattle" h0 := var_Items:Add("Anne Dodsworth") var_Items:[Caption,h0,1] := "Sales Representative" var_Items:[Caption,h0,2] := "London" oDCOCX_Exontrol1:EndUpdate() |
357 |
I've noticed that the filtering by prompt is not case sensitive, is is possible to make it case sensitive
local var_Columns as IColumns local var_Items as IItems local h0 as USUAL oDCOCX_Exontrol1:BeginUpdate() oDCOCX_Exontrol1:ColumnAutoResize := true oDCOCX_Exontrol1:ContinueColumnScroll := false oDCOCX_Exontrol1:MarkSearchColumn := false oDCOCX_Exontrol1:SearchColumnIndex := 1 oDCOCX_Exontrol1:FilterBarPromptVisible := true oDCOCX_Exontrol1:FilterBarPromptType := exFilterPromptCaseSensitive | exFilterPromptContainsAny oDCOCX_Exontrol1:FilterBarPromptPattern := "Anne" var_Columns := oDCOCX_Exontrol1:Columns IColumn{var_Columns:Add("Name")}:Width := 96 IColumn{var_Columns:Add("Title")}:Width := 96 var_Columns:Add("City") var_Items := oDCOCX_Exontrol1:Items h0 := var_Items:Add("Nancy Davolio") var_Items:[Caption,h0,1] := "Sales Representative" var_Items:[Caption,h0,2] := "Seattle" h0 := var_Items:Add("Andrew Fuller") var_Items:[Caption,h0,1] := "Vice President, Sales" var_Items:[Caption,h0,2] := "Tacoma" var_Items:[SelectItem,h0] := true h0 := var_Items:Add("Janet Leverling") var_Items:[Caption,h0,1] := "Sales Representative" var_Items:[Caption,h0,2] := "Kirkland" h0 := var_Items:Add("Margaret Peacock") var_Items:[Caption,h0,1] := "Sales Representative" var_Items:[Caption,h0,2] := "Redmond" h0 := var_Items:Add("Steven Buchanan") var_Items:[Caption,h0,1] := "Sales Manager" var_Items:[Caption,h0,2] := "London" h0 := var_Items:Add("Michael Suyama") var_Items:[Caption,h0,1] := "Sales Representative" var_Items:[Caption,h0,2] := "London" h0 := var_Items:Add("Robert King") var_Items:[Caption,h0,1] := "Sales Representative" var_Items:[Caption,h0,2] := "London" h0 := var_Items:Add("Laura Callahan") var_Items:[Caption,h0,1] := "Inside Sales Coordinator" var_Items:[Caption,h0,2] := "Seattle" h0 := var_Items:Add("Anne Dodsworth") var_Items:[Caption,h0,1] := "Sales Representative" var_Items:[Caption,h0,2] := "London" oDCOCX_Exontrol1:EndUpdate() |
356 |
Is it possible to list only items that ends with any of specified strings
local var_Columns as IColumns local var_Items as IItems local h0 as USUAL oDCOCX_Exontrol1:BeginUpdate() oDCOCX_Exontrol1:ColumnAutoResize := true oDCOCX_Exontrol1:ContinueColumnScroll := false oDCOCX_Exontrol1:MarkSearchColumn := false oDCOCX_Exontrol1:SearchColumnIndex := 1 oDCOCX_Exontrol1:FilterBarPromptVisible := true oDCOCX_Exontrol1:FilterBarPromptType := exFilterPromptEndWith oDCOCX_Exontrol1:FilterBarPromptColumns := "0" oDCOCX_Exontrol1:FilterBarPromptPattern := "Fuller" var_Columns := oDCOCX_Exontrol1:Columns IColumn{var_Columns:Add("Name")}:Width := 96 IColumn{var_Columns:Add("Title")}:Width := 96 var_Columns:Add("City") var_Items := oDCOCX_Exontrol1:Items h0 := var_Items:Add("Nancy Davolio") var_Items:[Caption,h0,1] := "Sales Representative" var_Items:[Caption,h0,2] := "Seattle" h0 := var_Items:Add("Andrew Fuller") var_Items:[Caption,h0,1] := "Vice President, Sales" var_Items:[Caption,h0,2] := "Tacoma" var_Items:[SelectItem,h0] := true h0 := var_Items:Add("Janet Leverling") var_Items:[Caption,h0,1] := "Sales Representative" var_Items:[Caption,h0,2] := "Kirkland" h0 := var_Items:Add("Margaret Peacock") var_Items:[Caption,h0,1] := "Sales Representative" var_Items:[Caption,h0,2] := "Redmond" h0 := var_Items:Add("Steven Buchanan") var_Items:[Caption,h0,1] := "Sales Manager" var_Items:[Caption,h0,2] := "London" h0 := var_Items:Add("Michael Suyama") var_Items:[Caption,h0,1] := "Sales Representative" var_Items:[Caption,h0,2] := "London" h0 := var_Items:Add("Robert King") var_Items:[Caption,h0,1] := "Sales Representative" var_Items:[Caption,h0,2] := "London" h0 := var_Items:Add("Laura Callahan") var_Items:[Caption,h0,1] := "Inside Sales Coordinator" var_Items:[Caption,h0,2] := "Seattle" h0 := var_Items:Add("Anne Dodsworth") var_Items:[Caption,h0,1] := "Sales Representative" var_Items:[Caption,h0,2] := "London" oDCOCX_Exontrol1:EndUpdate() |
355 |
Is it possible to list only items that ends with any of specified strings
local var_Columns as IColumns local var_Items as IItems local h0 as USUAL oDCOCX_Exontrol1:BeginUpdate() oDCOCX_Exontrol1:ColumnAutoResize := true oDCOCX_Exontrol1:ContinueColumnScroll := false oDCOCX_Exontrol1:MarkSearchColumn := false oDCOCX_Exontrol1:SearchColumnIndex := 1 oDCOCX_Exontrol1:FilterBarPromptVisible := true oDCOCX_Exontrol1:FilterBarPromptType := exFilterPromptEndWith oDCOCX_Exontrol1:FilterBarPromptColumns := "0" oDCOCX_Exontrol1:FilterBarPromptPattern := "Fuller" var_Columns := oDCOCX_Exontrol1:Columns IColumn{var_Columns:Add("Name")}:Width := 96 IColumn{var_Columns:Add("Title")}:Width := 96 var_Columns:Add("City") var_Items := oDCOCX_Exontrol1:Items h0 := var_Items:Add("Nancy Davolio") var_Items:[Caption,h0,1] := "Sales Representative" var_Items:[Caption,h0,2] := "Seattle" h0 := var_Items:Add("Andrew Fuller") var_Items:[Caption,h0,1] := "Vice President, Sales" var_Items:[Caption,h0,2] := "Tacoma" var_Items:[SelectItem,h0] := true h0 := var_Items:Add("Janet Leverling") var_Items:[Caption,h0,1] := "Sales Representative" var_Items:[Caption,h0,2] := "Kirkland" h0 := var_Items:Add("Margaret Peacock") var_Items:[Caption,h0,1] := "Sales Representative" var_Items:[Caption,h0,2] := "Redmond" h0 := var_Items:Add("Steven Buchanan") var_Items:[Caption,h0,1] := "Sales Manager" var_Items:[Caption,h0,2] := "London" h0 := var_Items:Add("Michael Suyama") var_Items:[Caption,h0,1] := "Sales Representative" var_Items:[Caption,h0,2] := "London" h0 := var_Items:Add("Robert King") var_Items:[Caption,h0,1] := "Sales Representative" var_Items:[Caption,h0,2] := "London" h0 := var_Items:Add("Laura Callahan") var_Items:[Caption,h0,1] := "Inside Sales Coordinator" var_Items:[Caption,h0,2] := "Seattle" h0 := var_Items:Add("Anne Dodsworth") var_Items:[Caption,h0,1] := "Sales Representative" var_Items:[Caption,h0,2] := "London" oDCOCX_Exontrol1:EndUpdate() |
354 |
Is it possible to list only items that starts with any of specified strings
local var_Columns as IColumns local var_Items as IItems local h0 as USUAL oDCOCX_Exontrol1:BeginUpdate() oDCOCX_Exontrol1:ColumnAutoResize := true oDCOCX_Exontrol1:ContinueColumnScroll := false oDCOCX_Exontrol1:MarkSearchColumn := false oDCOCX_Exontrol1:SearchColumnIndex := 1 oDCOCX_Exontrol1:FilterBarPromptVisible := true oDCOCX_Exontrol1:FilterBarPromptType := exFilterPromptStartWith oDCOCX_Exontrol1:FilterBarPromptColumns := "0" oDCOCX_Exontrol1:FilterBarPromptPattern := "An M" var_Columns := oDCOCX_Exontrol1:Columns IColumn{var_Columns:Add("Name")}:Width := 96 IColumn{var_Columns:Add("Title")}:Width := 96 var_Columns:Add("City") var_Items := oDCOCX_Exontrol1:Items h0 := var_Items:Add("Nancy Davolio") var_Items:[Caption,h0,1] := "Sales Representative" var_Items:[Caption,h0,2] := "Seattle" h0 := var_Items:Add("Andrew Fuller") var_Items:[Caption,h0,1] := "Vice President, Sales" var_Items:[Caption,h0,2] := "Tacoma" var_Items:[SelectItem,h0] := true h0 := var_Items:Add("Janet Leverling") var_Items:[Caption,h0,1] := "Sales Representative" var_Items:[Caption,h0,2] := "Kirkland" h0 := var_Items:Add("Margaret Peacock") var_Items:[Caption,h0,1] := "Sales Representative" var_Items:[Caption,h0,2] := "Redmond" h0 := var_Items:Add("Steven Buchanan") var_Items:[Caption,h0,1] := "Sales Manager" var_Items:[Caption,h0,2] := "London" h0 := var_Items:Add("Michael Suyama") var_Items:[Caption,h0,1] := "Sales Representative" var_Items:[Caption,h0,2] := "London" h0 := var_Items:Add("Robert King") var_Items:[Caption,h0,1] := "Sales Representative" var_Items:[Caption,h0,2] := "London" h0 := var_Items:Add("Laura Callahan") var_Items:[Caption,h0,1] := "Inside Sales Coordinator" var_Items:[Caption,h0,2] := "Seattle" h0 := var_Items:Add("Anne Dodsworth") var_Items:[Caption,h0,1] := "Sales Representative" var_Items:[Caption,h0,2] := "London" oDCOCX_Exontrol1:EndUpdate() |
353 |
Is it possible to list only items that starts with specified string
local var_Columns as IColumns local var_Items as IItems local h0 as USUAL oDCOCX_Exontrol1:BeginUpdate() oDCOCX_Exontrol1:ColumnAutoResize := true oDCOCX_Exontrol1:ContinueColumnScroll := false oDCOCX_Exontrol1:MarkSearchColumn := false oDCOCX_Exontrol1:SearchColumnIndex := 1 oDCOCX_Exontrol1:FilterBarPromptVisible := true oDCOCX_Exontrol1:FilterBarPromptType := exFilterPromptStartWith oDCOCX_Exontrol1:FilterBarPromptColumns := "0" oDCOCX_Exontrol1:FilterBarPromptPattern := "A" var_Columns := oDCOCX_Exontrol1:Columns IColumn{var_Columns:Add("Name")}:Width := 96 IColumn{var_Columns:Add("Title")}:Width := 96 var_Columns:Add("City") var_Items := oDCOCX_Exontrol1:Items h0 := var_Items:Add("Nancy Davolio") var_Items:[Caption,h0,1] := "Sales Representative" var_Items:[Caption,h0,2] := "Seattle" h0 := var_Items:Add("Andrew Fuller") var_Items:[Caption,h0,1] := "Vice President, Sales" var_Items:[Caption,h0,2] := "Tacoma" var_Items:[SelectItem,h0] := true h0 := var_Items:Add("Janet Leverling") var_Items:[Caption,h0,1] := "Sales Representative" var_Items:[Caption,h0,2] := "Kirkland" h0 := var_Items:Add("Margaret Peacock") var_Items:[Caption,h0,1] := "Sales Representative" var_Items:[Caption,h0,2] := "Redmond" h0 := var_Items:Add("Steven Buchanan") var_Items:[Caption,h0,1] := "Sales Manager" var_Items:[Caption,h0,2] := "London" h0 := var_Items:Add("Michael Suyama") var_Items:[Caption,h0,1] := "Sales Representative" var_Items:[Caption,h0,2] := "London" h0 := var_Items:Add("Robert King") var_Items:[Caption,h0,1] := "Sales Representative" var_Items:[Caption,h0,2] := "London" h0 := var_Items:Add("Laura Callahan") var_Items:[Caption,h0,1] := "Inside Sales Coordinator" var_Items:[Caption,h0,2] := "Seattle" h0 := var_Items:Add("Anne Dodsworth") var_Items:[Caption,h0,1] := "Sales Representative" var_Items:[Caption,h0,2] := "London" oDCOCX_Exontrol1:EndUpdate() |
352 |
How can I specify that the list should include any of the seqeunces in the pattern
|
351 |
How can I specify that all sequences in the filter pattern must be included in the list
|
350 |
How do I change at runtime the filter prompt
|
349 |
How do I specify to filter only a single column when using the filter prompt
|
348 |
How do I change the prompt or the caption being displayed in the filter bar
local var_Columns as IColumns oDCOCX_Exontrol1:BeginUpdate() oDCOCX_Exontrol1:ColumnAutoResize := true oDCOCX_Exontrol1:ContinueColumnScroll := false oDCOCX_Exontrol1:MarkSearchColumn := false oDCOCX_Exontrol1:SearchColumnIndex := 1 oDCOCX_Exontrol1:FilterBarPromptVisible := true oDCOCX_Exontrol1:FilterBarPrompt := "changed" var_Columns := oDCOCX_Exontrol1:Columns IColumn{var_Columns:Add("Name")}:Width := 96 IColumn{var_Columns:Add("Title")}:Width := 96 var_Columns:Add("City") oDCOCX_Exontrol1:EndUpdate() |
347 |
How do I enable the filter prompt feature
|
346 |
Is it possible to change the style for the vertical or horizontal grid lines, in the list area
|
345 |
Is it possible to change the style for the grid lines, for instance to be solid not dotted
|
344 |
How can I filter programatically using more columns
local var_Column,var_Column1 as IColumn local var_Columns as IColumns local var_Items as IItems oDCOCX_Exontrol1:BeginUpdate() oDCOCX_Exontrol1:MarkSearchColumn := false var_Columns := oDCOCX_Exontrol1:Columns var_Columns:Add("Car") var_Columns:Add("Equipment") var_Items := oDCOCX_Exontrol1:Items var_Items:[Caption,var_Items:Add("Mazda"),1] := "Air Bag" var_Items:[Caption,var_Items:Add("Toyota"),1] := "Air Bag,Air condition" var_Items:[Caption,var_Items:Add("Ford"),1] := "Air condition" var_Items:[Caption,var_Items:Add("Nissan"),1] := "Air Bag,ABS,ESP" var_Items:[Caption,var_Items:Add("Mazda"),1] := "Air Bag, ABS,ESP" var_Items:[Caption,var_Items:Add("Mazda"),1] := "ABS,ESP" var_Column := oDCOCX_Exontrol1:Columns:[Item,"Car"] var_Column:FilterType := exFilter var_Column:Filter := "Mazda" var_Column1 := oDCOCX_Exontrol1:Columns:[Item,"Equipment"] var_Column1:FilterType := exPattern var_Column1:Filter := "*ABS*|*ESP*" oDCOCX_Exontrol1:ApplyFilter() oDCOCX_Exontrol1:EndUpdate() |
343 |
How do I find an item based on my extra data
local var_Items as IItems oDCOCX_Exontrol1:Columns:Add("Default") var_Items := oDCOCX_Exontrol1:Items var_Items:Add("Item 1") var_Items:Add("Item 2") var_Items:[ItemData,var_Items:Add("Item 3")] := 1234 var_Items:Add("Item 4") var_Items:[ItemBold,var_Items:[FindItemData,1234,nil]] := true |
342 |
How do I print the control's content
|
341 |
How can I display the currency only for not empty cells
local var_Items as IItems oDCOCX_Exontrol1:Columns:Add("Number") IColumn{oDCOCX_Exontrol1:Columns:Add("Currency")}:ComputedField := "len(%0) ? currency(dbl(%0)) : ''" var_Items := oDCOCX_Exontrol1:Items var_Items:Add("1.23") var_Items:Add("2.34") var_Items:Add("0") var_Items:[ItemBackColor,var_Items:Add(nil)] := RGB(255,128,128) var_Items:Add("10000.99") |
340 |
Is there a function to display the number of days between two date including the number of hours
|
339 |
Is there a function to display the number of days between two date including the number of hours
|
338 |
How can I display the number of days between two dates
|
337 |
How can I get second part of the date
|
336 |
How can I get minute part of the date
|
335 |
How can I check the hour part only so I know it was afternoon
local var_Items as IItems oDCOCX_Exontrol1:ConditionalFormats:Add("hour(%0)>=12",nil):Bold := true oDCOCX_Exontrol1:Columns:Add("Date") IColumn{oDCOCX_Exontrol1:Columns:Add("Hour")}:ComputedField := "hour(%0)" var_Items := oDCOCX_Exontrol1:Items var_Items:Add(SToD("20010111 10:00:00")) var_Items:Add(SToD("20020222 11:00:00")) var_Items:Add(SToD("20030313 12:00:00")) var_Items:Add(SToD("20040414 13:00:00")) |
334 |
What about a function to get the day in the week, or days since Sunday
|
333 |
Is there any function to get the day of the year or number of days since January 1st
|
332 |
How can I display only the day of the date
|
331 |
How can I display only the month of the date
|
330 |
How can I get only the year part from a date expression
|
329 |
Can I convert the expression to date
|
328 |
Can I convert the expression to a number, double or float
|
327 |
How can I display dates in long format
|
326 |
How can I display dates in short format
|
325 |
How can I display the time only of a date expression
|
324 |
Is there any function to display currencies, or money formatted as in the control panel
|
323 |
How can I convert the expression to a string so I can look into the date string expression for month's name
|
322 |
Can I display the absolute value or positive part of the number
|
321 |
Is there any function to get largest number with no fraction part that is not greater than the value
|
320 |
Is there any function to round the values base on the .5 value
|
319 |
How can I get or display the integer part of the cell
|
318 |
How can I display names as proper ( first leter of the word must be in uppercase, and the rest in lowercase )
|
317 |
Is there any option to display cells in uppercase
|
316 |
Is there any option to display cells in lowercase
|
315 |
How can I mark the cells that has a specified type, ie strings only
|
314 |
How can I bold the items that contains data or those who displays empty strings
local var_Items as IItems local h,hC as USUAL oDCOCX_Exontrol1:ConditionalFormats:Add("not len(%1)=0",nil):Bold := true oDCOCX_Exontrol1:Columns:Add("C1") oDCOCX_Exontrol1:Columns:Add("C2") var_Items := oDCOCX_Exontrol1:Items h := var_Items:Add("Item 1") var_Items:Add("Item 2") hC := var_Items:Add("Item 3") var_Items:[Caption,hC,1] := "1" var_Items:Add("Item 3") |
313 |
Can I change the background color for items or cells that contains a specified string
local var_Items as IItems oDCOCX_Exontrol1:ConditionalFormats:Add("%0 contains 'hi'",nil):BackColor := RGB(255,0,0) oDCOCX_Exontrol1:Columns:Add("") var_Items := oDCOCX_Exontrol1:Items var_Items:Add("Item 1") var_Items:Add("Item 2") var_Items:Add("Item 3") var_Items:Add("Item 4 - child") |
312 |
Is there any option to change the fore color for cells or items that ends with a specified string
local var_Items as IItems oDCOCX_Exontrol1:ConditionalFormats:Add("%0 endwith '22'",nil):ForeColor := RGB(255,0,0) oDCOCX_Exontrol1:Columns:Add("") var_Items := oDCOCX_Exontrol1:Items var_Items:Add("Item 1") var_Items:Add("Item 2") var_Items:Add("Item 1.22") var_Items:Add("Item 2.22") |
311 |
How can I highlight the cells or items that starts with a specified string
local var_Items as IItems oDCOCX_Exontrol1:ConditionalFormats:Add("%0 startwith 'C'",nil):Underline := true oDCOCX_Exontrol1:Columns:Add("") var_Items := oDCOCX_Exontrol1:Items var_Items:Add("Item 1") var_Items:Add("CItem 2") var_Items:Add("Item 3") var_Items:Add("Item 4") |
310 |
How can I change the foreground color for a particular column
local var_Columns as IColumns var_Columns := oDCOCX_Exontrol1:Columns var_Columns:Add("Column 1") IColumn{var_Columns:Add("Column 2")}:[Def,exHeaderForeColor] := 8439039 var_Columns:Add("Column 3") |
309 |
How can I change the background color for a particular column
local var_Columns as IColumns var_Columns := oDCOCX_Exontrol1:Columns var_Columns:Add("Column 1") IColumn{var_Columns:Add("Column 2")}:[Def,exHeaderBackColor] := 8439039 var_Columns:Add("Column 3") |
308 |
How can I display the column's header using multiple lines
oDCOCX_Exontrol1:HeaderHeight := 128 oDCOCX_Exontrol1:HeaderSingleLine := false IColumn{oDCOCX_Exontrol1:Columns:Add("This is just a column that should break the header.")}:Width := 32 oDCOCX_Exontrol1:Columns:Add("This is just another column that should break the header.") |
307 |
How can I align the text/caption on the scroll bar
oDCOCX_Exontrol1:[ScrollPartCaption,exHScroll,exLowerBackPart] := "left" oDCOCX_Exontrol1:[ScrollPartCaptionAlignment,exHScroll,exLowerBackPart] := LeftAlignment oDCOCX_Exontrol1:[ScrollPartCaption,exHScroll,exUpperBackPart] := "right" oDCOCX_Exontrol1:[ScrollPartCaptionAlignment,exHScroll,exUpperBackPart] := RightAlignment oDCOCX_Exontrol1:ColumnAutoResize := false oDCOCX_Exontrol1:Columns:Add(AsString(1)) oDCOCX_Exontrol1:Columns:Add(AsString(2)) oDCOCX_Exontrol1:Columns:Add(AsString(3)) oDCOCX_Exontrol1:Columns:Add(AsString(4)) oDCOCX_Exontrol1:Columns:Add(AsString(5)) oDCOCX_Exontrol1:Columns:Add(AsString(6)) |
306 |
How do I select the next row/item
local var_Items as IItems oDCOCX_Exontrol1:Columns:Add("Column") var_Items := oDCOCX_Exontrol1:Items var_Items:Add("Item 1") var_Items:Add("Item 2") var_Items:Add("Item 3") var_Items:[SelectItem,var_Items:[NextVisibleItem,var_Items:FocusItem]] := true |
305 |
How do I enable resizing ( changing the height ) the items at runtime
local var_Items as IItems oDCOCX_Exontrol1:ItemsAllowSizing := exResizeItem oDCOCX_Exontrol1:DrawGridLines := exHLines oDCOCX_Exontrol1:ScrollBySingleLine := true oDCOCX_Exontrol1:Columns:Add("Column") oDCOCX_Exontrol1:Items:Add("Item 1") var_Items := oDCOCX_Exontrol1:Items var_Items:[ItemHeight,var_Items:Add("Item 2")] := 48 oDCOCX_Exontrol1:Items:Add("Item 3") oDCOCX_Exontrol1:Items:Add("Item 4") |
304 |
How do I enable resizing all the items at runtime
|
303 |
How can I remove the filter
|
302 |
How do I change the control's border, using your EBN files
oDCOCX_Exontrol1:VisualAppearance:Add(1,"c:\exontrol\images\normal.ebn") oDCOCX_Exontrol1:Appearance := 0x1000000 | |
301 |
Can I change the style for break or divider line
local var_Items as IItems local h as USUAL oDCOCX_Exontrol1:Columns:Add("Default") var_Items := oDCOCX_Exontrol1:Items var_Items:Add("Item 1") h := var_Items:Add(nil) var_Items:[ItemBreak,h] := DoubleLine var_Items:[SelectableItem,h] := false var_Items:Add("Item 3") |